<template>
  <VDispatchContent
    title="工程立项详情"
    :id="id"
  ></VDispatchContent>
</template>
<script setup lang="ts">
import { watch } from 'vue'
import VDispatchContent from './GovernmentDetail.vue'

import { ref } from 'vue'
import { useRoute } from 'vue-router'

const route = useRoute()
const id = ref()
watch(
  () => route,
  async () => {
    if (route.path == '/OA/Procure/ProjectDetail') id.value = '1'
  },
  { deep: true, immediate: true }
)
</script>
